﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BackboneTest.Models
{
	/// <summary>
	/// TB_User的实体类 (属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class TB_User
	{
        #region Model
		private int _id;
		private string _username;
		private string _loginid;
		private string _pwd;
		private string _company;
		private string _email;
		
		public TB_User() {}
        
        
        
		/// <summary>
        /// 
        /// </summary>
		public int ID
		{
			get{ return this._id; }
			set{ this._id = value; }
		}
		
        /// <summary>
        /// 
        /// </summary>
		public string UserName
		{
			get{ return this._username; }
			set{ this._username = value; }
		}
		
        /// <summary>
        /// 
        /// </summary>
		public string LoginID
		{
			get{ return this._loginid; }
			set{ this._loginid = value; }
		}
		
        /// <summary>
        /// 
        /// </summary>
		public string PWD
		{
			get{ return this._pwd; }
			set{ this._pwd = value; }
		}
		
        /// <summary>
        /// 
        /// </summary>
		public string Company
		{
			get{ return this._company; }
			set{ this._company = value; }
		}
		
        /// <summary>
        /// 
        /// </summary>
		public string Email
		{
			get{ return this._email; }
			set{ this._email = value; }
		}
		
        #endregion Model
	}
    
    
    /// <summary>
	/// TB_User的搜索条件实例类与从实体类中变更得到 (属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class TB_UserItem
	{
        #region Model
		private int _id;
		private string _username;
		private string _loginid;
		private string _pwd;
		private string _company;
		private string _email;
		
		public TB_UserItem() {}
        
        
        
		/// <summary>
        /// 
        /// </summary>
		public int ID
		{
			get{ return this._id; }
			set{ this._id = value; }
		}
		
        /// <summary>
        /// 
        /// </summary>
		public string UserName
		{
			get{ return this._username; }
			set{ this._username = value; }
		}
		
        /// <summary>
        /// 
        /// </summary>
		public string LoginID
		{
			get{ return this._loginid; }
			set{ this._loginid = value; }
		}
		
        /// <summary>
        /// 
        /// </summary>
		public string PWD
		{
			get{ return this._pwd; }
			set{ this._pwd = value; }
		}
		
        /// <summary>
        /// 
        /// </summary>
		public string Company
		{
			get{ return this._company; }
			set{ this._company = value; }
		}
		
        /// <summary>
        /// 
        /// </summary>
		public string Email
		{
			get{ return this._email; }
			set{ this._email = value; }
		}
		
        #endregion Model
	}
}


